﻿using System;
using System.Collections.Generic;
using System.Data.Entity.Migrations;
using System.Linq;
using System.Web;

namespace d1Project.Modules.Common.doCache.Migrations
{
    public class doCacheDbConfig : DbMigrationsConfiguration<doCacheDbContext>
    {
        public doCacheDbConfig()
        {

            string dbName = doCacheModule.ModuleIdDefine;

            AutomaticMigrationsEnabled = true;
            AutomaticMigrationDataLossAllowed = false;
            MigrationsDirectory = dbName + "Migrations";
            ContextKey = dbName + "Context";
        }

        protected override void Seed(doCacheDbContext context)
        {

        }
    }
}